
from google.appengine.ext import db

    
class Category(db.Model):
    name = db.StringProperty(required=True)

class Blog(db.Model):
    title = db.StringProperty(required=True)
    content = db.TextProperty(required=True)
    category = db.ReferenceProperty(Category)
    tag_list = db.StringListProperty()
    create_date = db.DateTimeProperty()
    modify_date = db.DateTimeProperty()
    display = db.BooleanProperty()

    



